//package com.mk.admin.service.impl;
//
//import com.alibaba.fastjson2.JSONObject;
//import com.mk.admin.model.ResultDto;
//import com.mk.admin.model.vo.PatientRegisterBudgetVo;
//import com.mk.admin.model.vo.PatientRegisterSettlementVo;
//import com.mk.admin.service.PatientRegisterService;
//import com.mk.admin.util.HttpTool;
//import org.springframework.stereotype.Service;
//
//
//@Service
//public class PatientRegisterServiceImpl implements PatientRegisterService {
//    @Override
//    public ResultDto budget(PatientRegisterBudgetVo vo) {
//        JSONObject jsonObject = HttpTool.postJson("stt_0001", JSONObject.toJSONString(vo));
//        Object result = jsonObject.get("result");
////        if (result != null) {
////            List<PatientRegisterBudgetDto> list = JSONArray.parseArray(result.toString(), PatientRegisterBudgetDto.class);
////        }
//        return ResultDto.data(result);
//    }
//
//    @Override
//    public ResultDto settlement(PatientRegisterSettlementVo vo) {
//        JSONObject jsonObject = HttpTool.postJson("stt_0002", JSONObject.toJSONString(vo));
//        Object result = jsonObject.get("result");
////        if (result != null) {
////            List<PatientRegisterSettlementDto> list = JSONArray.parseArray(result.toString(), PatientRegisterSettlementDto.class);
////        }
//        return ResultDto.data(result);
//    }
//}
